//
//  DanmuCell.m
//  penzer
//
//  Created by caiyc on 2018/10/14.
//  Copyright © 2018年 caiyc. All rights reserved.

//

#import "DanmuCell.h"


@implementation DanmuCell

- (void)awakeFromNib {
    [super awakeFromNib];

    self.DanmuText.textColor = [UIColor whiteColor];
//    self.back_Lable.layer.cornerRadius = 13;
//    self.back_Lable.layer.masksToBounds = 1;
//    self.back_Lable.backgroundColor = RGBA(0, 0, 0, .3);
    self.DanmuText.font = [UIFont systemFontOfSize:14];
    self.back_Lable.font = [UIFont systemFontOfSize:16];
    self.back_Lable.textColor = [UIColor clearColor];
    self.DanmuText.backgroundColor = [UIColor clearColor];
    self.back_Lable.backgroundColor = RGBA(0, 0, 0, .3);

    // Initialization code
}
-(void)bindData:(NSString *)str{

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (void)layoutSubviews
{
    [super layoutSubviews];
    [_back_Lable sizeToFit];
    _back_Lable.layer.cornerRadius = _back_Lable.height*0.5;
    _back_Lable.clipsToBounds = YES;
}
@end
